/**
 * 工具函数统一导出
 * 提供项目中常用的工具函数和类型定义
 */

// 格式化相关
export { 
  formatFileSize,
  formatNumber,
  formatPercent,
  formatCurrency,
  maskPhone,
  maskEmail,
  truncateText,
  capitalize,
  camelCase,
  snakeCase
} from './format';

// 验证相关
export {
  validateEmail,
  validatePhone,
  validatePassword,
  validateIdCard,
  validateUrl,
  validateIP,
  validateFileType,
  validateFileSize
} from './validation';

// 日期时间相关
export {
  formatDate,
  formatRelativeTime,
  formatDuration,
  getDateRange,
  calculateAge,
  isToday
} from './date';

// 存储相关
export {
  StorageUtil,
  SessionStorageUtil,
  appStorage
} from './storage';

// 权限相关
export {
  PermissionChecker,
  PlatformPermissionChecker
} from './permission';

// 通用工具函数
export * from './common'; 